﻿using BCCommon.Enums;
using BCEntity.MongoDB.PushMessage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCService.Common.PushMessage.PushMessageSend.Driver
{
    /// <summary>
    /// 推送消息--司机相关
    /// </summary>
    public interface IPushMessageForDriverService
    {
        /// <summary>
        /// 获取推送信息
        /// </summary>
        /// <param name="userIds">用户Id</param>
        /// <param name="pushMessageType">推送消息类型</param>
        /// <param name="start">开始时间</param>
        /// <param name="end">结束时间</param>
        /// <returns></returns>
        PushMessageMongoEntity GetPushMessageMongoEntity(long[] userIds, PushMessageType pushMessageType,
            DateTime start, DateTime end);
        /// <summary>
        /// 获取推送信息
        /// </summary>
        /// <param name="userId">用户Id</param>
        /// <param name="pushMessageType">推送消息类型</param>
        /// <param name="vehicleNo">车牌号</param>
        /// <returns></returns>
        PushMessageMongoEntity GetPushMessageMongoEntity(long userId, PushMessageType pushMessageType, string vehicleNo = null);
    }
}
